function [ o ] = objective( shortest_paths, stops, cost )
% objective function 
%   Detailed explanation goes here

o=0;
stops = stops.^0.5;
shortest_paths = shortest_paths;
limit  = length(stops);
for i=1:limit
    for j=1:i
        o=o+(1/stops(i))*(1/stops(j))*shortest_paths(i,j);
    end
end

o=o+cost;



end

